TEMA_CCI_SAR_01This strategy is using TEMA and PSAR for buying selling. Educational.
Disclaimer: if you this tool for trading which may cause losses and profits which myself or Tradingview and its partners wont responsible for it.
Cari dalam skrip untuk "buy sell"
Bull MountainsAre you a BEAR?
Then get out of here!
This indicator is only for long movements, its reading is simple and if you use it correctly it will give you very good results, the components are:
The highest quality configuration is as follows:
It is not necessary that all the components are aligned, the appearance of the upper mountain on the lower mountain is already a good sign, but if you add some seasoning more the soup will be better =)
Note: once the position is taken, it is the trader's responsibility to manage it. INSTRUMENTS WITH REAL VOLUME ARE REQUIRED FOR THIS INDICATOR.
tip: what would happen if you look for the signal in an upper frame and then look for an input in a lower frame? mmmmm....
tip: play with the 'Length' setting and see what happens
Bull a thumbs up please!
I wish you many greens !!
Volume Profile Free Ultra SLI (100 Levels Value Area VWAP) - RRBVolume Profile Free Ultra SLI by RagingRocketBull 2019
Version 1.0
This indicator calculates Volume Profile for a given range and shows it as a histogram consisting of 100 horizontal bars.
This is basically the MAX SLI version with +50 more Pinescript v4 line objects added as levels.
It can also show Point of Control (POC), Developing POC, Value Area/VWAP StdDev High/Low as dynamically moving levels.
Free accounts can't access Standard TradingView Volume Profile, hence this indicator.
There are several versions: Free Pro, Free MAX SLI, Free Ultra SLI, Free History. This is the Free Ultra SLI version. The Differences are listed below:
- Free Pro: 25 levels, +Developing POC, Value Area/VWAP High/Low Levels, Above/Below Area Dimming
- Free MAX SLI: 50 levels, 2x SLI modes for Buy/Sell or even higher res 150 levels
- Free Ultra SLI: 100 levels, packed to the limit, 2x SLI modes for Buy/Sell or even higher res 300 levels
- Free History: auto highest/lowest, historic poc/va levels for each session
Features:
- High-Res Volume Profile with up to 100 levels (line implementation)
- 2x SLI modes for even higher res: 300 levels with 3x vertical SLI, 100 buy/sell levels with 2x horiz SLI
- Calculate Volume Profile on full history
- POC, Developing POC Levels
- Buy/Sell/Total volume modes
- Side Cover
- Value Area, VAH/VAL dynamic levels
- VWAP High/Low dynamic levels with Source, Length, StdDev as params
- Show/Hide all levels
- Dim Non Value Area Zones
- Custom Range with Highlighting
- 3 Anchor points for Volume Profile
- Flip Levels Horizontally
- Adjustable width, offset and spacing of levels
- Custom Color for POC/VA/VWAP levels, Transparency for buy/sell levels
WARNING:
- Compilation Time: 1 min 20 sec
Usage:
- specify max_level/min_level/spacing (required)
- select range (start_bar, range length), confirm with range highlighting
- select volume type: Buy/Sell/Total
- select mode Value Area/VWAP to show corresponding levels
- flip/select anchor point to position the buy/sell levels
- use Horiz Buy/Sell SLI mode with 100 or Vertical SLI with 300 levels if needed
- use POC/Developing POC/VA/VWAP High/Low as S/R levels. Usually daily values from 1-3 days back are used as levels for the current day.
SLI:
use SLI modes to extend the functionality of the indicator:
- Horiz Buy/Sell 2x SLI lets you view 100 Buy/Sell Levels at the same time
- Vertical Max_Vol 3x SLI lets you increase the resolution to 300 levels
- you need at least 2 instances of the indicator attached to the same chart for SLI to work
1) Enable Horiz SLI:
- attach 2 indicator instances to the chart
- make sure all instances have the same min_level/max_level/range/spacing settings
- select volume type for each instance: you can have a buy/sell or buy/total or sell/total SLI. Make sure your buy volume instance is the last attached to be displayed on top of sell/total instances without overlapping.
- set buy_sell_sli_mode to true for indicator instances with volume_type = buy/sell, for type total this is optional.
- this basically tells the script to calculate % lengths based on total volume instead of individual buy/sell volumes and use ext offset for sell levels
- Sell Offset is calculated relative to Buy Offset to stack/extend sell after buy. Buy Offset = Zero - Buy Length. Sell Offset = Buy Offset - Sell Length = Zero - Buy Length - Sell Length
- there are no master/slave instances in this mode, all indicators are equal, poc/va levels are not affected and can work independently, i.e. one instance can show va levels, another - vwap.
2) Enable Vertical SLI:
- attach the first instance and evaluate the full range to roughly determine where is the highest max_vol/poc level i.e. 0..20000, poc is in the bottom half (third, middle etc) or
- add more instances and split the full vertical range between them, i.e. set min_level/max_level of each corresponding instance to 0..10000, 10000..20000 etc
- make sure all instances have the same range/spacing settings
- an instance with a subrange containing the poc level of the full range is now your master instance (bottom half). All other instances are slaves, their levels will be calculated based on the max_vol/poc of the master instance instead of local values
- set show_max_vol_sli to true for the master instance. for slave instances this is optional and can be used to check if master/slave max_vol values match and slave can read the master's value. This simply plots the max_vol value
- you can also attach all instances and set show_max_vol_sli to true in all of them - the instance with the largest max_vol should become the master
Auto/Manual Ext Max_Vol Modes:
- for auto vertical max_vol SLI mode set max_vol_sli_src in all slave instances to the max_vol of the master indicator: "VolumeProfileFree_MAX_RRB: Max Volume for Vertical SLI Mode". It can be tricky with 2+ instances
- in case auto SLI mode doesn't work - assign max_vol_sli_ext in all slave instances the max_vol value of the master indicator manually and repeat on each change
- manual override max_vol_sli_ext has higher priority than auto max_vol_sli_src when both values are assigned, when they are 0 and close respectively - SLI is disabled
- master/slave max_vol values must match on each bar at all times to maintain proper level scale, otherwise slave's levels will look larger than they should relative to the master's levels.
- Max_vol (red) is the last param in the long list of indicator outputs
- the only true max_vol/poc in this SLI mode is the master's max_vol/poc. All poc/va levels in slaves will be irrelevant and are disabled automatically. Slaves can only show VWAP levels.
- VA Levels of the master instance in this SLI mode are calculated based on the subrange, not the whole range and may be inaccurate. Cross check with the full range.
WARNING!
- auto mode max_vol_sli_src is experimental and may not work as expected
- you can only assign auto mode max_vol_sli_src = max_vol once due to some bug with unhandled exception/buffer overflow in Tradingview. Seems that you can clear the value only by removing the indicator instance
- sometimes you may see a "study in error state" error when attempting to set it back to close. Remove indicator/Reload chart and start from scratch
- volume profile may not finish to redraw and freeze in an ugly shape after an UI parameter change when max_vol_sli_src is assigned a max_vol value. Assign it to close - VP should redraw properly, but it may not clear the assigned max_vol value
- you can't seem to be able to assign a proper auto max_vol value to the 3rd slave instance
- 2x Vertical SLI works and tested in both auto/manual, 3x SLI - only manual seems to work (you can have a mixed mode: 2nd instance - auto, 3rd - manual)
Notes:
- This code uses Pinescript v3 compatibility framework
- This code is 20x-30x faster (main for cycle is removed) especially on lower tfs with long history - only 4-5 sec load/redraw time vs 30-60 sec of the old Pro versions
- Instead of repeatedly calculating the total sum of volumes for the whole range on each bar, vol sums are now increased on each bar and passed to the next in the range making it a per range vs per bar calculation that reduces time dramatically
- 100 levels consist of 50 main plot levels and 50 line objects used as alternate levels, differences are:
- line objects are always shown on top of other objects, such as plot levels, zero line and side cover, it's not possible to cover/move them below.
- all line objects have variable lengths, use actual x,y coords and don't need side cover, while all plot levels have a fixed length of 100 bars, use offset and require cover.
- all key properties of line objects, such as x,y coords, color can be modified, objects can be moved/deleted, while this is not possible for static plot levels.
- large width values cause line objects to expand only up/down from center while their length remains the same and stays within the level's start/end points similar to an area style.
- large width values make plot levels expand in all directions (both h/v), beyond level start/end points, sometimes overlapping zero line, making them an inaccurate % length representation, as opposed to line objects/plot levels with area style.
- large width values translate into different widths on screen for line objects and plot levels.
- you can't compensate for this unwanted horiz width expansion of plot levels because width uses its own units, that don't translate into bars/pixels.
- line objects are visible only when num_levels > 50, plot levels are used otherwise
- Since line objects are lines, plot levels also use style line because other style implementations will break the symmetry/spacing between levels.
- if you don't see a volume profile check range settings: min_level/max_level and spacing, set spacing to 0 (or adjust accordingly based on the symbol's precision, i.e. 0.00001)
- you can view either of Buy/Sell/Total volumes, but you can't display Buy/Sell levels at the same time using a single instance (this would 2x reduce the number of levels). Use 2 indicator instances in horiz buy/sell sli mode for that.
- Volume Profile/Value Area are calculated for a given range and updated on each bar. Each level has a fixed length. Offsets control visible level parts. Side Cover hides the invisible parts.
- Custom Color for POC/VA/VWAP levels - UI Style color/transparency can only change shape's color and doesn't affect textcolor, hence this additional option
- Custom Width - UI Style supports only width <= 4, hence this additional option
- POC is visible in both modes. In VWAP mode Developing POC becomes VWAP, VA High and Low => VWAP High and Low correspondingly to minimize the number of plot outputs
- You can't change buy/sell level colors from input (only transparency) - this requires 2x plot outputs => 2x reduces the number of levels to fit the max 64 limit. That's why 2 additional plots are used to dim the non Value Area zones
- You can change level transparency of line objects. Due to Pinescript limitations, only discrete values are supported.
- Inverse transp correlation creates the necessary illusion of "covered" line objects, although they are shown on top of the cover all the time
- If custom lines_transp is set the illusion will break because transp range can't be skewed easily (i.e. transp 0..100 is always mapped to 100..0 and can't be mapped to 50..0)
- transparency can applied to lines dynamically but nva top zone can't be completely removed because plot/mixed type of levels are still used when num_levels < 50 and require cover
- transparency can't be applied to plot levels dynamically from script this can be done only once from UI, and you can't change plot color for the past length bars
- All buy/sell volume lengths are calculated as % of a fixed base width = 100 bars (100%). You can't set show_last from input to change it
- Range selection/Anchoring is not accurate on charts with time gaps since you can only anchor from a point in the future and measure distance in time periods, not actual bars, and there's no way of knowing the number of future gaps in advance.
- Adjust Width for Log Scale mode now also works on high precision charts with small prices (i.e. 0.00001)
- in Adjust Width for Log Scale mode Level1 width extremes can be capped using max deviation (when level1 = 0, shift = 0 width becomes infinite)
- There's no such thing as buy/sell volume, there's just volume, but for the purposes of the Volume Profile method, assume: bull candle = buy volume, bear candle = sell volume
P.S. I am your grandfather, Luke! Now, join the Dark Side in your father's steps or be destroyed! Once more the Sith will rule the Galaxy, and we shall have peace...
Volume Profile Free MAX SLI (50 Levels Value Area VWAP) by RRBVolume Profile Free MAX SLI by RagingRocketBull 2019
Version 1.0
All available Volume Profile Free MAX SLI versions are listed below (They are very similar and I don't want to publish them as separate indicators):
ver 1.0: style columns implementation
ver 2.0: style histogram implementation
ver 3.0: style line implementation
This indicator calculates Volume Profile for a given range and shows it as a histogram consisting of 50 horizontal bars.
It can also show Point of Control (POC), Developing POC, Value Area/VWAP StdDev High/Low as dynamically moving levels.
Free accounts can't access Standard TradingView Volume Profile, hence this indicator.
There are several versions: Free Pro, Free MAX SLI, Free History. This is the Free MAX SLI version. The Differences are listed below:
- Free Pro: 25 levels, +Developing POC, Value Area/VWAP High/Low Levels, Above/Below Area Dimming
- Free MAX SLI: 50 levels, packed to the limit, 2x SLI modes for Buy/Sell or even higher res 150 levels
- Free History: auto highest/lowest, historic poc/va levels for each session
Features:
- High-Res Volume Profile with up to 50 levels (3 implementations)
- 20-30x faster than the old Pro versions especially on lower tfs with long history
- 2x SLI modes for even higher res: 150 levels with 3x vertical SLI, 50 buy/sell levels with 2x horiz SLI
- Calculate Volume Profile on full history
- POC, Developing POC Levels
- Buy/Sell/Total volume modes
- Side Cover
- Value Area, VAH/VAL dynamic levels
- VWAP High/Low dynamic levels with Source, Length, StdDev as params
- Show/Hide all levels
- Dim Non Value Area Zones
- Custom Range with Highlighting
- 3 Anchor points for Volume Profile
- Flip Levels Horizontally
- Adjustable width, offset and spacing of levels
- Custom Color for POC/VA/VWAP levels and Transparency for buy/sell levels
Usage:
- specify max_level/min_level/spacing (required)
- select range (start_bar, range length), confirm with range highlighting
- select volume type: Buy/Sell/Total
- select mode Value Area/VWAP to show corresponding levels
- flip/select anchor point to position the buy/sell levels
- use Horiz SLI mode for 50 Buy/Sell or Vertical SLI for 150 levels if needed
- use POC/Developing POC/VA/VWAP High/Low as S/R levels. Usually daily values from 1-3 days back are used as levels for the current day.
SLI:
- use SLI modes to extend the functionality of the indicator:
- Horiz Buy/Sell 2x SLI lets you view 50 Buy/Sell Levels at the same time
- Vertical Max_Vol 3x SLI lets you increase the resolution to 150 levels
- you need at least 2 instances of the indicator attached to the same chart for SLI to work
1) Enable Horiz SLI:
- attach 2 indicator instances to the chart
- make sure all instances have the same min_level/max_level/range/spacing settings
- select volume type for each instance: you can have a buy/sell or buy/total or sell/total SLI. Make sure your buy volume instance is the last attached to be displayed on top of sell/total instances without overlapping.
- set buy_sell_sli_mode to true for indicator instances with volume_type = buy/sell, for type total this is optional.
- this basically tells the script to calculate % lengths based on total volume instead of individual buy/sell volumes and use ext offset for sell levels
- Sell Offset is calculated relative to Buy Offset to stack/extend sell after buy. Buy Offset = Zero - Buy Length. Sell Offset = Buy Offset - Sell Length = Zero - Buy Length - Sell Length
- there are no master/slave instances in this mode, all indicators are equal, poc/va levels are not affected and can work independently, i.e. one instance can show va levels, another - vwap.
2) Enable Vertical SLI:
- attach the first instance and evaluate the full range to roughly determine where is the highest max_vol/poc level i.e. 0..20000, poc is in the bottom half (third, middle etc) or
- add more instances and split the full vertical range between them, i.e. set min_level/max_level of each corresponding instance to 0..10000, 10000..20000 etc
- make sure all instances have the same range/spacing settings
- an instance with a subrange containing the poc level of the full range is now your master instance (bottom half). All other instances are slaves, their levels will be calculated based on the max_vol/poc of the master instance instead of local values
- set show_max_vol_sli to true for the master instance. for slave instances this is optional and can be used to check if master/slave max_vol values match and slave can read the master's value. This simply plots the max_vol value
- you can also attach all instances and set show_max_vol_sli to true in all of them - the instance with the largest max_vol should become the master
Auto/Manual Ext Max_Vol Modes:
- for auto vertical max_vol SLI mode set max_vol_sli_src in all slave instances to the max_vol of the master indicator: "VolumeProfileFree_MAX_RRB: Max Volume for Vertical SLI Mode". It can be tricky with 2+ instances
- in case auto SLI mode doesn't work - assign max_vol_sli_ext in all slave instances the max_vol value of the master indicator manually and repeat on each change
- manual override max_vol_sli_ext has higher priority than auto max_vol_sli_src when both values are assigned, when they are 0 and close respectively - SLI is disabled
- master/slave max_vol values must match on each bar at all times to maintain proper level scale, otherwise slave's levels will look larger than they should relative to the master's levels.
- Max_vol (red) is the last param in the long list of indicator outputs
- the only true max_vol/poc in this SLI mode is the master's max_vol/poc. All poc/va levels in slaves will be irrelevant and are disabled automatically. Slaves can only show VWAP levels.
- VA Levels of the master instance in this SLI mode are calculated based on the subrange, not the whole range. Cross check with the full range.
WARNING!
- auto mode max_vol_sli_src is experimental and may not work as expected
- you can only assign auto mode max_vol_sli_src = max_vol once due to some bug with unhandled exception/buffer overflow in Tradingview. Seems that you can clear the value only by removing the indicator instance
- sometimes you may see a "study in error state" error when attempting to set it back to close. Remove indicator/Reload chart and start from scratch
- volume profile may not finish to redraw and freeze in an ugly shape after an UI parameter change when max_vol_sli_src is assigned a max_vol value. Assign it to close - VP should redraw properly, but it may not clear the assigned max_vol value
- you can't seem to be able to assign a proper auto max_vol value to the 3rd slave instance
- 2x Vertical SLI works and tested in both auto/manual, 3x SLI - only manual seems to work
Notes:
- This code is 20x-30x faster (main for cycle is removed) especially on lower tfs with long history - only 2-3 sec load/redraw time vs 30-60 sec of the old Pro versions
- Instead of repeatedly calculating the total sum of volumes for the whole range on each bar, vol sums are now increased on each bar and passed to the next in the range making it a per range vs per bar calculation that reduces time dramatically
- hist_base for levels still results is ugly redraw
- if you don't see a volume profile check range settings: min_level/max_level and spacing, set spacing to 0 (or adjust accordingly based on the symbol's precision, i.e. 0.00001)
- you can view either of Buy/Sell/Total volumes, but you can't display Buy/Sell levels at the same time using a single instance (this would 2x reduce the number of levels). Use 2 indicator instances in horiz buy/sell sli mode for that.
- Volume Profile/Value Area are calculated for a given range and updated on each bar. Each level has a fixed length. Offsets control visible level parts. Side Cover hides the invisible parts.
- Custom Color for POC/VA/VWAP levels - UI Style color/transparency can only change shape's color and doesn't affect textcolor, hence this additional option
- Custom Width - UI Style supports only width <= 4, hence this additional option
- POC is visible in both modes. In VWAP mode Developing POC becomes VWAP, VA High and Low => VWAP High and Low correspondingly to minimize the number of plot outputs
- You can't change buy/sell level colors from input (only plot transparency) - this requires 2x plot outputs => 2x reduces the number of levels to fit the max 64 limit. That's why 2 additional plots are used to dim the non Value Area zones
- All buy/sell volume lengths are calculated as % of a fixed base width = 100 bars (100%). You can't set show_last from input to change it
- There's no such thing as buy/sell volume, there's just volume, but for the purposes of the Volume Profile method, assume: bull candle = buy volume, bear candle = sell volume
P.S. Gravitonium Levels Are Increasing. Unobtainium is nowhere to be found!
Links on Volume Profile and Value Area calculation and usage:
www.tradingview.com
stockcharts.com
onlinelibrary.wiley.com
Volume Profile Free Pro (25 Levels Value Area VWAP) by RRBVolume Profile Free Pro by RagingRocketBull 2019
Version 1.0
All available Volume Profile Free Pro versions are listed below (They are very similar and I don't want to publish them as separate indicators):
ver 1.0: style columns implementation
ver 2.0: style histogram implementation
ver 3.0: style line implementation
This indicator calculates Volume Profile for a given range and shows it as a histogram consisting of 25 horizontal bars.
It can also show Point of Control (POC), Developing POC, Value Area/VWAP StdDev High/Low as dynamically moving levels.
Free accounts can't access Standard TradingView Volume Profile, hence this indicator.
There are 3 basic methods to calculate the Value Area for a session.
- original method developed by Steidlmayr (calculated around POC)
- classical method using StdDev (calculated around the mean VWAP)
- another method based on the mean absolute deviation (calculated around the median)
POC is a high volume node and can be used as support/resistance. But when far from the day's average price it may not be as good a trend filter as the other methods.
The 80% Rule: When the market opens above/below the Value Area and then returns/stays back inside for 2 consecutive 30min periods it has 80% chance of filling VA (like a gap).
There are several versions: Free, Free Pro, Free MAX. This is the Free Pro version. The Differences are listed below:
- Free: 30 levels, Buy/Sell/Total Volume Profile views, POC
- Free Pro: 25 levels, +Developing POC, Value Area/VWAP High/Low Levels, Above/Below Area Dimming
- Free MAX: 50 levels, packed to the limit
Features:
- Volume Profile with up to 25 levels (3 implementations)
- POC, Developing POC Levels
- Buy/Sell/Total/Side by Side View modes
- Side Cover
- Value Area, VAH/VAL dynamic levels
- VWAP High/Low dynamic levels with Source, Length, StdDev as params
- Show/Hide all levels
- Dim Non Value Area Zones
- Custom Range with Highlighting
- 3 Anchor points for Volume Profile
- Flip Levels Horizontally
- Adjustable width, offset and spacing of levels
- Custom Color for POC/VA/VWAP levels and Transparency for buy/sell levels
Usage:
- specify max_level/min_level for a range (required in ver 1.0/2.0, auto/optional in ver 3.0 = set to highest/lowest)
- select range (start_bar, range length), confirm with range highlighting
- select mode Value Area or VWAP to show corresponding levels.
- flip/select anchor point to position the buy/sell levels, adjust width and spacing as needed
- select Buy/Sell/Total/Side by Side view mode
- use POC/Developing POC/VA/VWAP High/Low as S/R levels. Usually daily values from 1-3 days back are used as levels for the current day.
- Green - buy volume of a specific price level in a range, Red - sell volume. Green + Red = Total volume of a price level in a range
There's no native support for vertical histograms in Pinescript (with price axis as base)
Basically, there are 4 ways to plot a series of horizontal bars stacked on top of each other:
1. plotshape style labeldown (ver 0 prototype discarded)
- you can have a set of fixed width/height text labels consisting of a series of underscores and moving dynamically as levels. Level offset controls visible length.
- you can move levels and scale the base width of the volume profile histogram dynamically
- you can calculate the highest/lowest range values automatically. max_level/min_level inputs are optional
- you can't fill the gaps between levels/adjust/extend width, height - this results in a half baked volume profile and looks ugly
- fixed text level height doesn't adjust and looks bad on a log scale
- fixed font width also doesn't scale and can't be properly aligned with bars when zooming
2. plot style columns + hist_base (ver 1.0)
- you can plot long horizontal bars using a series of small adjacent vertical columns with level offsets controlling visible length.
- you can't hide/move levels of the volume profile histogram dynamically on each bar, they must be plotted at all times regardless - you can't delete the history of a plot.
- you can't scale the base width of the volume profile histogram dynamically, can't set show_last from input, must use a preset fixed width for each level
- hist_base can only be a static const expression, can't be assigned highest/lowest range values automatically - you have to specify max_level/min_level manually from input
- you can't control spacing between columns - there's an equalizer bar effect when you zoom in, and solid bars when you zoom out
- using hist_base for levels results in ugly load/redraw times - give it 3-5 sec to finalize its shape after each UI param change
- level top can be properly aligned with another level's bottom producing a clean good looking histogram
- columns are properly aligned with bars automatically
3. plot style histogram + hist_base (ver 2.0)
- you can plot long horizontal bars using a series of small vertical bars (horizontal histogram) instead of columns.
- you can control the width of each histogram bar comprising a level (spacing/horiz density). Large enough width will cause bar overlapping and give level a "solid" look regardless of zoom
- you can only set width <= 4 in UI Style - custom textbox input is provided for larger values. You can set width and plot transparency from input
- this method still uses hist_base and inherits other limitations of ver 2.0
4. plot style lines (ver 3.0)
- you can also plot long horizontal bars using lines with level offsets controlling visible length.
- lines don't need hist_base - fast and smooth redraw times
- you can calculate the highest/lowest range values automatically. max_level/min_level inputs are optional
- level top can't be properly aligned with another level's bottom and have a proper spacing because line width uses its own units and doesn't scale
- fixed line width of a level (vertical thickness) doesn't scale and looks bad on log (level overlapping)
- you can only set width <= 4 in UI Style, a custom textbox input is provided for larger values. You can set width and plot transparency from input
Notes:
- hist_base for levels results in ugly load/redraw times - give it 3-5 sec to finalize its shape after each UI param change
- indicator is slow on TFs with long history 10000+ bars
- Volume Profile/Value Area are calculated for a given range and updated on each bar. Each level has a fixed width. Offsets control visible level parts. Side Cover hides the invisible parts.
- Custom Color for POC/VA/VWAP levels - UI Style color/transparency can only change shape's color and doesn't affect textcolor, hence this additional option
- Custom Widh for levels - UI Style supports only width <= 4, hence this additional option
- POC is visible in both modes. In VWAP mode Developing POC becomes VWAP, VA High and Low => VWAP High and Low correspondingly to minimize the number of plot outputs
- You can't change buy/sell level colors (only plot transparency) - this requires 2x plot outputs exceeding max 64 limit. That's why 2 additional plots are used to dim the non Value Area zones
- Use Side by Side view to compare buy and sell volumes between each other: base width = max(total_buy_vol, total_sell_vol)
- All buy/sell volume lengths are calculated as % of a fixed base width = 100 bars (100%). You can't set show_last from input
- Sell Offset is calculated relative to Buy Offset to stack/extend sell on top of buy. Buy Offset = Zero - Buy Length. Sell Offset = Buy Offset - Sell Length = Zero - Buy Length - Sell Length
- If you see "loop too long error" - change some values in UI and it will recalculate - no need to refresh the chart
- There's no such thing as buy/sell volume, there's just volume, but for the purposes of the Volume Profile method, assume: bull candle = buy volume, bear candle = sell volume
- Volume Profile Range is limited to 5000 bars for free accounts
P.S. Cantaloupia Will be Free!
Links on Volume Profile and Value Area calculation and usage:
www.tradingview.com
stockcharts.com
onlinelibrary.wiley.com
FSCG-TSSLA modification of dasanc's "Fisher Stochastic Center of Gravity"
Added:
- Thresholds for Buy/Sell Signals
- Trailing Stop / Stop Loss
- Backtest Range
Support the open-source community.
Screw you people selling open-source scripts to newbies.
Tip Jar: 3KNZq8mE24MuBmpDJVF31bBy8zc9beDiZo
Contact me for collaborations and let's take things to the next level!
Do NOT contact me for alert scripts or paid-custom work, I don't work for clients.
TMA All in OneTriangular Moving Averages
TMA formula is prepared on the Tradingview so that everyone can easly access.
First, calculate the simple moving average ( SMA ):
SMA = (P1 + P2 + P3 + P4 + ... + PN ) / N
Then, take the average of all the SMA values to get TMA values.
TMA = (SMA1 + SMA2 + SMA3 + SMA4 + ... SMAN) / N
The TMA can also be expressed
Source : Close
if the prices are upper than moving averages price bar color will be green, if lower than moving average it will be red color.
ฤฐf the trend is bullish , TMA will work as support
ฤฐf the trend is bear, TMA will work as resistance..
We used SMA5 ( Simple Moving Average5)
ฤฐf short period average(Green), cross up Longterm average (brown) that means BUY ( Green area)
ฤฐf opposite SELL ( Red area)
My idea, weekly period gives very good results to middleterm and long term invesment..That can help us from which prices we can buy the stock which we think that financial results are positive..
The other topic;
At the end, everytime prices return back to average values, and prices can move away until some distance. We can buy or sell with mixed prices, that can provide us better buy or sell average cost.
in Default Settings;
SELL 2.Area = 20% over than Longterm average, if the prices go upper that means prices are increased so much
SELL 1.Area = 13% over than Longterm average, if the prices go upper that means prices are incresed a bit.
BUY 1.Area = 3% lower than Longterm average, if the prices go upper that means prices are decreased a bit.
BUY 2.Area = 10% lower than Longterm average, f the prices go upper that means prices are decreased so much
You can use this indicator in your interested stock market.. With checking historical behaviour of the related stock market, you can make balance on the indicator setting.
According to averages, below BUY-SELL strategy is important,
Powerful SELL
1- Previosly ฤฐncrease
2- Price cross down the long average line
3- Short average,crossdown the long average
4- Price approach to long average, but close the bar under this average
Powerful BUY
1. Previosly Decrease
2. Price cross up the long average line
3. Short average crossup the long average line
4. Price approach to long average, but close the bar over this average
gaps&wicksA means for tracking price ranges for gap up/down and longer buying/selling tails. This may have some value for buying/selling opportunities based on the relative significance of the range. The look back period is adjustable and works for any time frame. If you have any success using it leave some feedback.
-Squam
RCI with EMA&MACD2018/6/11 Re-release for house rule of Trading view.
5lines : RCI lines. A thick navy line has the longest period.
circles : MACD cross. GC=green DC=red
backcolor : Short EMA > Long EMA is blue. Short EMA < Long EMA is red.
Black shadow : It reveals its appearance when over-buying/selling.
It helps your entry.
Crypto Cradle Trade AssistantThis indicator compliments the Crypto Cradle indicator by providing your entry, stop, 1:1 scale-out price, trade amount, and potential profit based on your target and scale-out strategy.
1. Ensure you have added the Crypto Cradle and Crypto Cradle Trade Assistant indicators to your chart
2. Click the cog icon to configure this indicator
3. Enter in your account balance and the % you are willing to risk on this trade (default: 1%).
3. Set your target price
4. Tweak the Trade Pair and Precision (Decimals) if required (USD/USDT only BTC & ETH coming soon)
5. Click on the 'Data Window' icon on the right-hand side of the screen and scroll down to CCTA
6. Hover over a highlighted crypto cradle candle (green for long, red for short) and a series of values will appear
Entry price
Stop price
1:1 scale out price
Amount to buy/sell (ie NEO)
Amount in traded currency (ie USD)
Target price (that you set)
Profit based on selling 50% of your bought amount when your reward equals your risk (1:1 scale-out)
Profit based on risking 1% of your portfolio
For more about the Crypto Cradle strategy, visit www.tradercobb.com
Volume Based Price ActionThis indicator is uses volume and common candlestick patterns to suggest potential trend reversals. It is not quite meant to be used as a buy/sell signal. Instead, it should be used to evaluate market psychology based on when the buyers or sellers fully dominated the price action.
In the current version, the indicators looks for engulfing and pin-bar patterns. Optionally, it also considers rising volume as further confirmation to the signal. In future, I plan on allowing it to track more candlestick patterns.
Please let me know if you have any suggestions, concerns, or comments!
Candlestick Trend Indicator v0.5 by JustUncleLRequested Update to this Indicator alert project. In this update I have added the option to be able select which Price Action candles you want included in the display and the generated alarm Alert. Other changes also included in this update:
Also added a Price Action candle for "Last Fractal S/R Break", this also a good continuation indication.
Added option to select a different moving average types for directional MA line.
Modified some default settings, using HullMA instead of Zero Lag EMA and standard MACD settings(12,26,9).
Description:
This is a trend following indicator and alert for Binary Options based on Candlestick patterns and trend line -
NOTE: original system was a forex trading system.
This code combines a number of indicators to create an overall trading strategy.
The indicator recognises and displays some useful candle named defined patterns that are used to support trend continuation:
Bearish + Bullish PinBars
Dark Cloud Cover
Piecing Line
Bullish + Bearish Harami
Bullish + Bearish Engulfing Candle
Bullish + Bearish Last Fractal S/R break
Also recognises main Price Action candles from ChrisMoody (CM), the four(4) price action patterns are colored coded bars:
Yellow = Inside Bar - breakout/continuance
Orange = Outside Bar - breakout/continuance
Aqua/Fuschia = Up/Down Shaved Bars - Buying/Selling pressure
Red/Green = Possible reversal PinBars - Reverse Down / reverse Up
The highlighted candles (maroon and darker green) represent the defined PA patterns that have been confirmed following the current trend direction that is indicated by the Hull MA(20) line (can select a different type of MA, or even disable) and confirmed by MACD direction (can be disabled). The confirmed Alerts are indication by green (buy) and red (sell) dots at the bottom of the chart. An alert is generated from this selection for the alert condition of the alarming system.
The fractal upper/lower break lines are also draw, if the (optional) last fractal break line is broken by a highlighted bar then this indicates a stronger trend conformation.
The MACD indicator MACD DEUTER 2 colour(12,26,9) you can visually see the MACD histogram colours with MACD direction - needs "MACD DEUTER 2 colour" indicator.
This multi-indicator set up is suitable for 1hr, 4hr and daily charts with 1-4 candle expiry.
References and Inspiration from:
Fractal Levels by RicardoSantos
Almost Zero Lag EMA
Candlestick Patterns With EMA by rmwaddelljr
CM_Price-Action-Bars by ChrisMoody
www.forexstrategiesresources.com
"Scalp Jockey - MTF MA Cross Visual Strategizer by JayRogers"
QQE Cross Indicator Alert v2.0 by JustUncleLThis version of the indicator makes a distinction between the types of QQE cross alerts on the chart and now only recommends the Thresh Hold channel exit crosses for BUY/SELL alerts, the other two types of crosses are still there to provide pre-warning of pending BUY/SELL alerts. Also only the BUY/SELL alerts are filtered by Moving Average Filter and/or the new Directional filter (default). The default settings in this version have also been changed, particularly the Moving Averages, to indicate trend changes quicker.
Indicator Project Description:
*** This is a trend following indicator alert that uses fast QQE crosses with Moving Averages for trend direction filtering. QQE or Qualitative Quantitative Estimation is based on the relative strength index, but uses a smoothing technique as an additional transformation. Three crosses can be selected (all selected by default):
RSI signal crossing ZERO (XZERO)
RSI signal crossing Fast RSIatr line (XQQE)
RSI signal exiting the RSI Threshhold Channel (BUY/SELL)
The (BUY/SELL) alerts can be optionally filtered by the Moving Average Combo:
For BUY alert the Close must be above the fast MA and
fast MA (EMA8) > medium MA (EMA20) > slow MA (SMA50).
For SELL alert the Close must be below the fast MA and
fast MA (EMA8) < medium MA (EMA20) < slow MA (SMA50).
and/or Directional filter (default filter):
For BUY alert the Close must be above the slow MA (SMA50) and the directional MA (EMA20) must be green.
For SELL alert the Close must be below the slow MA (SMA50) and the directional MA (EMA20) must be red.
The XZERO and XQQE are not included in the filtering, they are used to indicate pending BUY/SELL alerts, particularly the XZERO.
Note: I have found the XQQE cross can also be quite good alert for BUY/SELL as well, particularly in direction of current trend. The XZERO I have found to be totally unreliable for BUY/SELL alerts.
This indicator should work on any currency pair, most chart timeframes and expiry in 3 to 6 candles for binary option trading. For hourly or longer charts expiry can be longer for binary options, or if available use standard forex trading techniques
Some Hints for using this indicator:
Avoid taking trades in non-trending market, this is normally indicated by a near Horizontal SMA50 line.
Avoid trading when all the moving averages are close together.
When trading 1min and 5min charts, expiry should set to 1-3 candles.
Avoid trading when market choppy, this is normally indicated by the fast EMA8 crossing the EMA20 back and forwards quickly.
High probability trades tend to occur when you get a XQQE followed by a XZERO and then BUY/SELL in the same direction of trend.
Don't trade near nor directly on any major market news (sometime better no trade day).
Please practise this system in DEMO first, before committing any real money. Be patient the more you practise the better and more confident you will be.
I hope you enjoy this indicator, it has proven very effective for me.
ZTLs Bar_TrendHere is an adaptation of TTM_Trend I coded. It's all pretty self explanatory. Aqua = buy and red = sell.
There's only one setting to tweak and it's the look-back for highest and lowest.
I have found that this indicator gives signals at almost identical areas to the TTM_Trend but tend to actually be a little more efficient (earlier buy/sell signals), although I haven't thoroughly back-tested it.
Enjoy!
Please comment below if you have any questions.
Prev Week POC Buy/Sell Signals
Hi, Iโm Edward. I created a straightforward strategy for swing traders (4hr or 8hr timeframe users). This strategy is for traders that are not interested to look at charts all day long, 2 times a day max, but still be profitable.
The indicator:
Print a buy signal when the price closes above the previous week's Point of Control (POC).
Stay in the trade until the price closes below the previous week's POC, then print a sell signal.
The indicator calculates the weekly POC using a basic volume profile method, then tracks the previous week's POC for signals.
Previous week POC is valid from Monday to Thursday. By close of business on Thursday, the current week trend and POC should be well established and should be used make buy or sell decisions. Enjoy!
EMA Crossover with 10-Bar Stop Loss๐ง EMA Crossover Indicator with Dynamic Stop Loss
This indicator is designed to assist traders in identifying trend-based entries with clearly defined risk levels. It plots customizable Fast and Slow EMAs and generates real-time Buy and Sell labels when crossovers occur.
โจ Key Features:
๐ Buy/Sell Signals: Triggered by EMA crossover logic.
๐ Dynamic Stop Loss: Calculated using the lowest low or highest high over the past 10 candles.
โ๏ธ Fully Configurable Inputs: Fine-tune EMA lengths and stop loss lookback.
This tool is especially useful for traders who follow trend confirmation and prefer building consistent risk-based setups. Visual, simple, and adaptableโideal for backtesting or live chart analysis.
EMA Crossover with Stop Loss LabelEMA Crossover Strategy with Dynamic Stop Loss
This indicator generates Buy and Sell signals based on the crossover of two customizable EMAs. Each signal is accompanied by a real-time Stop Loss, calculated from the previous candle's high or low:
โ
Buy Signal: When Fast EMA crosses above Slow EMA ๐ Stop Loss = Previous candleโs Low
โ Sell Signal: When Fast EMA crosses below Slow EMA ๐ Stop Loss = Previous candleโs High
Key Features:
User-defined EMA lengths
Clean Buy/Sell labels directly on the chart
Real-time Stop Loss annotations for precision risk management
Ideal for trend-following and swing trading strategies
Volatility RSI Breakout + Volume Filter [v6]This indicator is designed for my dca bot as entry signal. It combines four key conditions to generate high-probability buy/sell signals:
RSI Momentum Filter โ Detects early strength or weakness before extreme overbought/oversold levels.
Bollinger Band Breakout โ Confirms price expansion beyond recent volatility ranges.
Volume Spike Filter โ Ensures breakout moves are supported by increased trader activity.
ATR Volatility Threshold โ Trades are only allowed in sufficiently volatile environments.
The indicator plots:
Buy/Sell labels directly on the chart when all conditions are met.
Confluence of signals# Confluence of Signals
## Overview
The "Confluence of Signals" is a powerful Pine Script indicator designed for TradingView that allows traders to define and visualize multiple technical conditions for both long and short trading signals. When all specified conditions align (reach confluence), the indicator generates a clear buy or sell signal, providing a structured approach to trading decision-making.
## Key Features
### Multiple Condition Support
- **8 Long Conditions**: Configure up to 8 different technical conditions for long entries
- **8 Short Conditions**: Configure up to 8 different technical conditions for short entries
- **Flexible Activation**: Enable or disable any condition based on your trading strategy
### Signal Types and Flexibility
- **Rich Condition Types**:
- Crossing (standard crosses)
- Crossing Up (bullish crosses)
- Crossing Down (bearish crosses)
- Greater Than (value comparisons)
- Less Than (value comparisons)
- Equals (exact matches)
- Rising (trend conditions over specified bars)
- Falling (trend conditions over specified bars)
- Toggle (signals that remain active for a specified number of bars)
### Multi-Timeframe Analysis
- Apply conditions from different timeframes
- Supports unified analysis across multiple chart periods
### Signal Management
- **Trade Limiting**: Set minimum bars between trades to avoid overtrading
- **Session Control**: Limit signals to specific trading sessions
- **Signal Expiration**: Set a date after which signals will no longer be generated
### Visual Feedback
- **Signal Table**: Clear BUY/SELL/NONE status display in the top-right corner
- **Condition Markers**: Visual indicators showing which specific conditions are active
- **Confluence Markers**: Triangle markers showing when all conditions align
- **Session Highlighting**: Optional background highlighting for the active session
## Usage Instructions
### Setting Up Conditions
1. Enable the conditions you wish to use by checking the "Use" option for each
2. Configure each condition with:
- **Source**: The price or indicator value to evaluate (e.g., close, SMA, RSI)
- **Event**: The type of condition (crossing, greater than, etc.)
- **Value/Source**: The threshold or comparison source
- **Timeframe**: Optional higher timeframe for the condition
- **Bar Close**: Whether the condition should only be evaluated on bar close
### Toggle Mode
For conditions set to "Toggle" mode:
1. Specify the number of bars the signal should remain active
2. The condition will remain true for the specified number of bars after triggering
3. Useful for conditions you want to remain valid for a certain period
### Trade Management
- **Bars Between Trades**: Prevents signals from occurring too frequently
- **Session Control**: Limit trading to specific market sessions
- **Expiration**: Set a cutoff date for all signals
### Visualization Controls
- Show/hide individual condition markers
- Show/hide confluence markers
- Enable/disable session highlighting
## Installation
1. Open TradingView and navigate to the Pine Editor
2. Copy the entire Confluence of Signals script
3. Paste it into the Pine Editor
4. Click "Save" and give your indicator a name
5. Click "Add to Chart" to apply the indicator
## Example Setups
### Simple Moving Average Crossover
- **Long Condition 1**: When (Close) Crossing Up (200 SMA)
- **Short Condition 1**: When (Close) Crossing Down (200 SMA)
### RSI with Support/Resistance
- **Long Condition 1**: When (RSI) Crossing Up (30)
- **Long Condition 2**: When (Close) Greater Than (50 SMA)
- **Short Condition 1**: When (RSI) Crossing Down (70)
- **Short Condition 2**: When (Close) Less Than (50 SMA)
### Multi-Timeframe Strategy
- **Long Condition 1**: When (Close) Greater Than (200 SMA)
- **Long Condition 2**: When (MACD) Crossing Up (Signal)
- **Short Condition 1**: When (Close) Less Than (200 SMA)
- **Short Condition 2**: When (MACD) Crossing Down (Signal)
## Best Practices
1. Start with fewer conditions and gradually add more as needed
2. Test different combinations of conditions to find optimal setups
3. Use the toggle feature for conditions that should remain valid for multiple bars
4. Consider using multi-timeframe conditions for confirmation from higher timeframes
5. Set appropriate trade limits to prevent overtrading
## Customization
The indicator can be further customized by modifying the script:
- Change colors and visual elements
- Add additional conditions if needed
- Modify the signaling logic
## Compatibility
- **Platform**: TradingView
- **Script Version**: Pine Script v5
- **Chart Types**: Compatible with all chart types
- **Timeframes**: Works on all timeframes
## Disclaimer
This indicator is provided for informational and educational purposes only. Always conduct your own analysis and risk management before making trading decisions. Past performance is not indicative of future results.
## Version History
- v1.0: Initial release with basic condition support
- v1.1: Added toggle functionality
- v1.2: Added multi-timeframe support
- v1.3: Added session control and expiration options
- v2.0: Expanded to 8 conditions for both long and short signals
VSA Simplified (Volume Spread Analysis)This indicator implements a simplified version of Volume Spread Analysis (VSA) to help traders identify key volume-based signals used by professional market participants.
It detects classic VSA patterns such as:
Climactic Volume: unusually high volume with wide price spread indicating potential buying/selling climax
No Demand / No Supply: low volume and small spreads signaling lack of interest or exhaustion
Stopping Volume: high volume with long wicks and neutral closes showing absorption or rejection
The indicator plots distinct shapes on the chart to highlight these conditions, assisting traders to read market intent and potential turning points.
Best used alongside market structure and support/resistance zones for confluence.
Patrik BTC Exponential Model v.2A MULTI-ANCHOR EULER'S EXPONENTIAL REGRESSION MODEL v2.0
Implements Euler's exponential growth model: BTC(t) = a ร e^(r ร t)
Based on Euler's number (e โ 2.71828) for natural exponential growth
- a = Initial coefficient (y-intercept in log space)
- r = Growth rate (slope in log space)
- t = Years since anchor date
FEATURES:
- Exponential regression line with ยฑ2 SD bands
- R-squared for model fit assessment
- Log/linear regression modes
- Real-time deviation tracking
- Customizable anchor date
- BUY/SELL SIGNALS: Background zones & bar colors
- Green = Buy (below trend), Red = Sell (above trend)
- Darker colors = Stronger signals (ยฑ2 SD)
IMPORTANT CAVEATS:
โ ๏ธ ANCHOR BIAS: Selecting "best fit" dates introduces look-ahead bias
โ ๏ธ NOT PREDICTIVE: High Rยฒ shows historical fit, not future reliability
โ ๏ธ For analysis only - NOT investment advice
TIPS:
- Use log scale (right-click price axis โ "Logarithmic")
- ยฑ2ฯ bands โ 95% confidence assuming normal distribution
- Signals: Strong Buy <-2ฯ | Buy <-1ฯ | Neutral | Sell >+1ฯ | Strong Sell >+2ฯ
-ย Note @GallantCryptoYT has a much more sophisticated exit / entry
CREDITS:
ย @GallantCryptoYTย (Patreon: Gallant Crypto)
DP_MoneyFlow_Osc_V4**DP_Moneyflow_Osc_V4** is a custom, volumeโweighted momentum oscillator built around the classic Money Flow Index (MFI), with a few twists to help you spot more reliable reversal points:
***Best way to use it is to take the signals as alert points, to understand when money is starting to flow in or starting to flow out. It is not intended to be a Buy or Sell signal at the point of entry where the label is printed.***
1. **Core Calculation**
* Computes the standard MFI on your chartโs native timeframe:
* Money Flow = typical price (H+L+C)/3 ร volume
* Segregates positive vs. negative flow based on whether price rose or fell on each bar
* Smooths each with an N-bar SMA, forms the ratio, and maps it into a 0โ100 scale
2. **Inversion & Smoothing**
* You can **invert** the oscillator around 50 (so peaks become troughs and vice versa) with the **Reverse MFI** toggle.
* Applies two layers of smoothing (one for raw noise reduction, another for longer-term trend stability).
3. **Dynamic Coloring**
* Above Overbought (OB) threshold โ solid red; below Oversold (OS) โ solid green.
* In between, it linearly fades from red/green toward black as it approaches the 50 midpoint.
* **Invert Colors** flips the hue logic (red โ green) if you prefer.
4. **Overbought/Oversold Zones**
* Plots horizontal lines at your chosen OB/OS levels.
* Optionally fills the zone between them for quick visual reference.
5. **Peak/Trough Signal Labels**
* Detects **true extremes** by finding when the oscillator reverses direction right at or beyond your OB/OS levels.
* Prints a tiny โOBโ or โOSโ label **exactly at that pivot bar**, so you see the high or low of the swing.
6. **Alternation Toggle**
* Prevents two consecutive โOSโ or โOBโ labels by enforcing strict Buy/Sell alternationโturn this on or off via **Enable Signal Alternation**.
---
**Use-Case**: This oscillator excels at pinpointing the *tops* and *bottoms* of strong volumeโbacked moves, giving you clear pivot markers rather than every threshold crossover. Tweak the smoothing and threshold inputs to calibrate sensitivity to your market and timeframe.